How to continue a condition statement after the first one is meet in python

visit shbcf.ru